package com.passive.lock.mapper;

import com.passive.lock.model.po.TRoute;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
@Repository("TRouteMapperCoustom")
public interface TRouteMapperCoustom {
	List<TRoute> routeList(@Param("regionid") Integer regionid, @Param("prouteid") Integer prouteid,
			@Param("routeName") String routeName, @Param("deptid") String deptid,@Param("offset") Integer offset, @Param("limit") Integer limit);

	int routeListCount(@Param("regionid") Integer regionid, @Param("prouteid") Integer prouteid,
			@Param("routeName") String routeName,@Param("deptid") String deptid);
	
	List<TRoute> routeTree(@Param("regionid") Integer regionid,@Param("groupid") String groupid,@Param("routeid") Integer routeid);
}